<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Agency/index')}">等级列表</a></li>
			<li><a href="{:url('Agency/add')}">等级添加</a></li>
		</ul>
        <!--<form class="well form-inline margin-top-20" method="post" action="{:url('Agency/index')}">-->
            <!--手机号/姓名:-->
            <!--<input type="text" class="form-control" name="user_login" style="width: 120px;" value="{:input('request.user_login/s','')}" placeholder="请输入手机号">-->
            <!--推荐码:-->
            <!--<input type="text" class="form-control" name="user_email" style="width: 120px;" value="{:input('request.user_email/s','')}" placeholder="推荐码">-->
            <!--<input type="submit" class="btn btn-primary" value="搜索" />-->
            <!--<a class="btn btn-danger" href="{:url('Agency/index')}">清空</a>-->
        <!--</form>-->
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>等级</th>
					<th>代理费用</th>
					<th>激活码数量</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name="result" id="vo" key="k">
					<tr>
						<td>{$k}</td>
						<td>{$vo.agr_level}</td>
						<td>{$vo.money}</td>
						<td>{$vo.number}</td>
						<td>
							<a href="{:url('Agency/change',array('id'=>$vo.id))}">修改</a>
							<a href="{:url('Agency/del',array('id'=>$vo.id))}">删除</a>
						</td>
					</tr>
				</volist>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>